//
//  CustomViews.m
//  UI_01homework
//
//  Created by dllo on 16/6/3.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "CustomViews.h"

@implementation CustomViews

-(instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        self.backgroundColor = [UIColor redColor];
    }
    return self;
}





-(instancetype)initWithFrame:(CGRect)frame withColor:(UIColor *)backgroudColor
{
    self = [super initWithFrame:frame];
    if (self) {
        self.backgroundColor = backgroudColor;
    }
    return self;
}



@end
